package com.jusz.ddns.server.utils;

/**
 * @author: tcm
 * @date: 2021/8/25
 * @description ..
 */
public class APIs {
    public APIs() {
    }

    public static ApiException error(int code, String message, Throwable throwable) {
        return new ApiException(code, message, throwable);
    }

    public static ApiException error(int code, String message, Throwable throwable, boolean isCodeToHttp) {
        return new ApiException(code, message, throwable, isCodeToHttp);
    }
}
